package com.woniuxy.contract.service;


import com.woniuxy.entity.Contract;

import java.util.List;

public interface ContractService {


    //添加合同
    void addContract(Contract contract);

    //修改合同
    Contract updateContract(int id_contract);

    //查询全部合同
    List<Contract> selectAllContract();

    //根据id查询合同
    Contract selectContractById(int id_contract);
}
